package com.ruoyi.project.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 平台推送消息格式对象 sys_message
 * 
 * @author jjp
 * @date 2020-04-15
 */
public class SysMessage extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 用户id */
    private Long messageId;

    /** 消息类型 */
    private String typle;

    /** 标题 */
    private String title;

    /** 图片地址 */
    private String url;

    /** 数据 */
    private String json;

    public void setMessageId(Long messageId) 
    {
        this.messageId = messageId;
    }

    public Long getMessageId() 
    {
        return messageId;
    }
    public void setTyple(String typle) 
    {
        this.typle = typle;
    }

    public String getTyple() 
    {
        return typle;
    }
    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }
    public void setUrl(String url) 
    {
        this.url = url;
    }

    public String getUrl() 
    {
        return url;
    }
    public void setJson(String json) 
    {
        this.json = json;
    }

    public String getJson() 
    {
        return json;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("messageId", getMessageId())
            .append("typle", getTyple())
            .append("title", getTitle())
            .append("url", getUrl())
            .append("json", getJson())
            .append("remark", getRemark())
            .toString();
    }
}
